package com.junko.core.constant;

/**
 * 权限验证
 */
public interface ConstantAdmin {

	/**
	 * 权限验证：URL不存在
	 */
	String auth_no_url = "no_url";

	/**
	 * 权限验证：未登录
	 */
	String auth_no_login = "no_login";
	String auth_no_identified = "auth_no_identified";
	String auth_error_ip = "error_ip";
	String auth_locked = "locked";
	String auth_not_merchant = "not_merchant";
	String auth_not_factory = "not_factory";

	/**
	 * 权限验证：没权限
	 */
	String auth_no_permissions = "no_permissions";

	/**
	 * 权限验证：重复提交表单
	 */
	String auth_form = "form";

	/**
	 * 权限验证：请求方法验证
	 */
	String auth_method = "method";

	/**
	 * 权限验证：请求编码验证
	 */
	String auth_enctype = "enctype";

	/**
	 * 权限验证：csrf值为空
	 */
	String auth_csrf_empty = "csrf_empty";

	/**
	 * 权限验证：csrf校验失败
	 */
	String auth_csrf = "csrf";

	/**
	 * 权限验证：referer校验失败
	 */
	String auth_referer = "referer";

	/**
	 * 权限验证：业务代码异常
	 */
	String auth_exception = "exception";

	/**
	 * 权限验证：加密验证标示存储位置cookie
	 */
	String auth_store_cookie = "cookie";

	/**
	 * 权限验证：加密验证标示存储位置header
	 */
	String auth_store_header = "header";
}
